package com.hibernate;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Evenement entity. @author MyEclipse Persistence Tools
 */

public class Evenement  implements java.io.Serializable {


    // Fields    

     private Integer numeroevenement;
     private Typeevenement typeevenement;
     private Message message;
     private Timestamp dateevenement;
     private Set autorisations = new HashSet(0);


    // Constructors

    /** default constructor */
    public Evenement() {
    }

    
    /** full constructor */
    public Evenement(Typeevenement typeevenement, Message message, Timestamp dateevenement, Set autorisations) {
        this.typeevenement = typeevenement;
        this.message = message;
        this.dateevenement = dateevenement;
        this.autorisations = autorisations;
    }

   
    // Property accessors

    public Integer getNumeroevenement() {
        return this.numeroevenement;
    }
    
    public void setNumeroevenement(Integer numeroevenement) {
        this.numeroevenement = numeroevenement;
    }

    public Typeevenement getTypeevenement() {
        return this.typeevenement;
    }
    
    public void setTypeevenement(Typeevenement typeevenement) {
        this.typeevenement = typeevenement;
    }

    public Message getMessage() {
        return this.message;
    }
    
    public void setMessage(Message message) {
        this.message = message;
    }

    public Timestamp getDateevenement() {
        return this.dateevenement;
    }
    
    public void setDateevenement(Timestamp dateevenement) {
        this.dateevenement = dateevenement;
    }

    public Set getAutorisations() {
        return this.autorisations;
    }
    
    public void setAutorisations(Set autorisations) {
        this.autorisations = autorisations;
    }
   








}